﻿#pragma once


// CTestDlg 对话框

class CTestDlg : public CDialog
{
	DECLARE_DYNAMIC(CTestDlg)

public:
	CTestDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CTestDlg();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_CTestDlg };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual void OnOK() override;

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBtnAdd();
private:
	CButton m_btn;
	bool m_btnCreate;
public:
	afx_msg void OnClickedNumber1();
	int m_num2;
	int m_num3;
	int m_num1;
	CEdit m_edit1;
	CEdit m_edit3;
	CEdit m_edit2;
	afx_msg void OnBnClickedBtnSc();
	virtual BOOL OnInitDialog();
};
